package com.backend.modules.system.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@Schema(description = "用户信息")
public class UserVO {
    
    @Schema(description = "用户ID")
    private Long id;
    
    @Schema(description = "用户名")
    private String username;
    
    @Schema(description = "真实姓名")
    private String realName;
    
    @Schema(description = "手机号")
    private String phone;
    
    @Schema(description = "邮箱")
    private String email;
    
    @Schema(description = "头像")
    private String avatar;
    
    @Schema(description = "用户类型(1:管理员,2:教师,3:学生)")
    private Integer userType;
    
    @Schema(description = "用户类型描述")
    private String userTypeDesc;
    
    @Schema(description = "状态(true:启用,false:禁用)")
    private Boolean status;
    
    @Schema(description = "创建时间")
    private LocalDateTime createTime;
    
    @Schema(description = "更新时间")
    private LocalDateTime updateTime;
    
    @Schema(description = "部门ID")
    private Long departmentId;
    
    @Schema(description = "部门名称")
    private String departmentName;
    
    @Schema(description = "性别(1:男,2:女)")
    private Integer gender;
    
    @Schema(description = "性别描述")
    private String genderDesc;
    
    @Schema(description = "学号/工号")
    private String userCode;
} 